﻿namespace AutoRevit.Entry.Application;

/// <summary>
/// 外部应用模块
/// </summary>
public interface IExternalModule
{
    /// <summary>
    /// 启动时
    /// </summary>
    /// <param name="application"></param>
    /// <returns></returns>
    Result OnShutdown(UIControlledApplication application);

    /// <summary>
    /// 启动时
    /// </summary>
    /// <param name="application"></param>
    /// <returns></returns>
    Result OnStartup(UIControlledApplication application);
}
